/**
 * Created by lxh on 2017/12/11.
 */
import React, {PureComponent} from 'react';
import styles from '../index.less';
import {connect} from 'dva';
import {Table,Button ,Alert, Badge, Switch, Icon, InputNumber, Tooltip, Popconfirm}  from 'antd';
export default class OptionInfo extends PureComponent{
    render(){
        const {data} = this.props;

        const columns = [{
            dataIndex:'user_name',
            title:'操作者',
            width:'100px'
        },{
            title:'操作时间',
            dataIndex:'log_time',
            width:'100px'
        },{
            title:'订单状态',
            dataIndex:'order_status',
            width:'100px'
        },{
            title:'付款状态',
            dataIndex:'pay_status',
            width:'100px'
        },{
            title:'发货状态',
            dataIndex:'shipping_status',
            width:'100px'
        },{
            title:'备注',
            dataIndex:'action_note',
            width:'100px'
        }];
        return (
            <div className={styles.standardTable}>
                <Table
                    columns={columns}
                    size="default"
                    dataSource={data}
                    rowKey={record => record.order_action_id}/>
            </div>
        )
    }
}